/*
 * BattleMasterInterface.h
 *
 *  Created on: Oct 23, 2011
 *      Author: gonzalo
 */

#ifndef BATTLEMASTERINTERFACE_H_
#define BATTLEMASTERINTERFACE_H_

#include <string>
#include <list>
#include "../SDLtoolkit/ScenarioElement.h"
#include "../common/DTOBackground.h"
#include "../common/DTOCliente.h"
#include "ColaMensajes.h"

class BattleMasterInterface {
public:
	BattleMasterInterface(std::string owner);
	BattleMasterInterface(std::string scenarioName,bool);
	virtual ~BattleMasterInterface();

	std::list<ScenarioElement*> getElements();

	std::string getBackgroundPath();
	void setBackground(DTOBackground* bgr);

	void setScenearioElements(std::list<DTOScenarioElement*> listElements);

	std::string getOwner();

private:

	void deleteBackground();

	std::string owner;

	std::string scenarioName;
	DTOBackground* background;

	//TODO se volvio feo esto, que reciba la conexion y opere a partir de ahi.
	bool esServer;

	std::list<DTOScenarioElement*> scenarioElements;

};

#endif /* BATTLEMASTERINTERFACE_H_ */
